\doxysection{C\+:/\+Users/\+ASUS/\+Desktop/dm-\/ctrl\+H7-\/balance-\/9025test/bsp/usb/bsp\+\_\+usb.h File Reference}
\hypertarget{bsp__usb_8h}{}\label{bsp__usb_8h}\index{C:/Users/ASUS/Desktop/dm-\/ctrlH7-\/balance-\/9025test/bsp/usb/bsp\_usb.h@{C:/Users/ASUS/Desktop/dm-\/ctrlH7-\/balance-\/9025test/bsp/usb/bsp\_usb.h}}


提供对usb vpc(virtal com port)的操作接口,hid和msf考虑后续添加  


{\ttfamily \#include "{}usb\+\_\+device.\+h"{}}\newline
{\ttfamily \#include "{}usbd\+\_\+cdc.\+h"{}}\newline
{\ttfamily \#include "{}usbd\+\_\+conf.\+h"{}}\newline
{\ttfamily \#include "{}usbd\+\_\+desc.\+h"{}}\newline
{\ttfamily \#include "{}usbd\+\_\+cdc\+\_\+if.\+h"{}}\newline
\doxysubsubsection*{Classes}
\begin{DoxyCompactItemize}
\item 
struct \mbox{\hyperlink{struct_u_s_b___init___config__s}{USB\+\_\+\+Init\+\_\+\+Config\+\_\+s}}
\end{DoxyCompactItemize}
\doxysubsubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\Hypertarget{bsp__usb_8h_a0b860d78171c1734960f5de91774b29e}\label{bsp__usb_8h_a0b860d78171c1734960f5de91774b29e} 
uint8\+\_\+t \texorpdfstring{$\ast$}{*} {\bfseries USBInit} (\mbox{\hyperlink{struct_u_s_b___init___config__s}{USB\+\_\+\+Init\+\_\+\+Config\+\_\+s}} usb\+\_\+conf)
\item 
\Hypertarget{bsp__usb_8h_a02bfbf5ab8848bf799fbe3d4fa2d6b6f}\label{bsp__usb_8h_a02bfbf5ab8848bf799fbe3d4fa2d6b6f} 
void {\bfseries USBTransmit} (uint8\+\_\+t \texorpdfstring{$\ast$}{*}buffer, uint16\+\_\+t len)
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
提供对usb vpc(virtal com port)的操作接口,hid和msf考虑后续添加 

\begin{DoxyAuthor}{Author}
your name (\href{mailto:you@domain.com}{\texttt{you@domain.\+com}}) 
\end{DoxyAuthor}
\begin{DoxyAttention}{Attention}
这一版usb修改了usbd\+\_\+cdc\+\_\+if.\+c中的\+CDC\+\_\+\+Receive\+\_\+\+FS函数,若使用cube生成后会被覆盖.\+后续需要由usbcdciftemplate创建一套自己的模板 
\end{DoxyAttention}
\begin{DoxyVersion}{Version}
0.\+1 
\end{DoxyVersion}
\begin{DoxyDate}{Date}
2023-\/02-\/09
\end{DoxyDate}
\begin{DoxyCopyright}{Copyright}
Copyright (c) 2023 
\end{DoxyCopyright}
